﻿/*
 *  测试版主程序
*/

#include <iostream>
#include <cstring>
#include "card.h"       //卡片类
#include "game.h"       //游戏类
#include "macro.h"      //宏集合
#include "pc.h"         //玩家类
#include "reception.h"  //接待
#include "ballthread.h" //开波线程处理函数头文件
#include "map.h"        //地图头文件


int main(int argc, char* argv[])
{
    cout<<"服务器启动! "<<endl;
    //多线程
    pthread_t connection;

    //socket线程
    pthread_create(&connection,0,call,0);

    //主线程等待子线程的设置
    pthread_join(connection,NULL);

    return 0;
}
